package com.wcfsy.wechat.wx.um.service;

import java.util.List;
import java.util.Map;

import com.wcfsy.wechat.wx.pagination.IPage;
import com.wcfsy.wechat.wx.um.entity.Permission;
import com.wcfsy.wechat.wx.um.entity.Role;

public  interface IRoleConService {
	public  void add(Role paramRole);

	public  void deleteById(long paramLong) throws Exception;

	public  void update(Role paramRole);

	public  Role getById(long paramLong);

	public  Role getByRoleCode(String paramString);

	public  IPage<Role> findRoleByPage(Role paramRole, int paramInt1,
			int paramInt2);

	public  List<Role> findAll(String paramString, Long paramLong);

	public  IPage<Role> findAll(int paramInt1, int paramInt2);

	public  List<Permission> getPermissionListByRoleId(long roleId);

	public  String getPermisNameListByRoleId(long roleId);

	//public  List<User> getUserListByRoleId(long paramLong);

	public  void configPermis(long paramLong1, long paramLong2);

	public  void configPermisList(long roleId, List<Long> permissionIdList);
	
	public  void configPermisList(Map<String, Object> paramMap);

	public  boolean checkQuote(long paramLong);

	public  List<Role> getAllNoRole(Map<String, Object> paramMap);

	public  List<Role> queryRoleListByCardId(long paramLong);

	public  List<String> queryPerm(List<Long> paramList);

	public  void configDefaultRole(Long paramLong1, Long paramLong2,
			Long paramLong3);

	public  List<Role> queryRoleListByUserId(Long paramLong);

	public  List<Role> queryNoRoleListByUserId(Long paramLong1,
			String paramString, Long paramLong2);

}
